<#include "common/nolayout.ftl"/>
<@html js_=['user/cpwd.js']>

<div class="childrenBody">
    <form class="layui-form" id="cpwdForm" action="${root}/m/cpwd" method="post">
        <input type="hidden" name="id" id="id" value="${m.id}"/>
        <br>
        <div class="layui-form-item layui-row layui-col-xs10">
            <label class="layui-form-label">旧密码</label>
            <div class="layui-input-block">
                <input type="password" name="oldPwd" id="oldPwd" class="layui-input"  placeholder="请输入旧密码" maxlength="24"/>
            </div>
        </div>
        <div class="layui-form-item layui-row layui-col-xs10">
            <label class="layui-form-label">新密码</label>
            <div class="layui-input-block">
                <input type="password" name="newPwd" id="newPwd" class="layui-input "  placeholder="请输入新密码" maxlength="24"/>
            </div>
        </div>
        <div class="layui-form-item layui-row layui-col-xs10">
            <label class="layui-form-label">再次输入新密码</label>
            <div class="layui-input-block">
                <input type="password" name="againPwd" id="againPwd" class="layui-input "  placeholder="请再次输入新密码" maxlength="24"/>
            </div>
        </div>

        <div class="layui-form-item layui-row layui-col-xs10">
            <div class="layui-input-block">
                <button class="layui-btn layui-btn-sm" onclick="cpwd()">修改密码</button>
            </div>
        </div>
    </form>
</div>
</@html>